import { $t } from "@/plugins/i18n";
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/entities",
  name: "entities",
  component: Layout,
  redirect: "/entities/list",
  meta: {
    icon: "ep:grid",
    title: $t("menus.tankEntities"),
    rank: 0
  },
  children: [
    {
      path: "/entities/list",
      name: "entityList",
      component: () => import("@/views/entities/index.vue"),
      meta: {
        title: $t("menus.tankEntitiyList"),
        showLink: VITE_HIDE_HOME !== "true"
      }
    }
  ]
} satisfies RouteConfigsTable;
